package com.bailian.snails.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * @author gaoxu
 * date: Created on 2021/8/27 下午1:53
 */
@Data
@ConfigurationProperties(prefix = "gateway.nacos")
public class NacosProperties {
    private String serverAddr;

    private String namespace;

    private String group = "DEFAULT_GROUP";

    private String dataId = "dynamic-route";

    private long timeout = 5000;
}
